package com.ruoyi.djb.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 充值列表对象 djb_charge_gradient
 * 
 * @author xxd
 * @date 2025-03-04
 */
public class DjbChargeGradient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 人民币-分 */
    @Excel(name = "人民币-分")
    private Integer money;

    /** 赠送 */
    @Excel(name = "赠送")
    private Integer bonus;

    /** 排序 */
    @Excel(name = "排序")
    private Integer ranking;

    /** 是否默认 */
    @Excel(name = "是否默认")
    private String isDefault;

    /** 充值名称 */
    @Excel(name = "充值名称")
    private String name;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setMoney(Integer money) 
    {
        this.money = money;
    }

    public Integer getMoney() 
    {
        return money;
    }
    public void setBonus(Integer bonus) 
    {
        this.bonus = bonus;
    }

    public Integer getBonus() 
    {
        return bonus;
    }
    public void setRanking(Integer ranking) 
    {
        this.ranking = ranking;
    }

    public Integer getRanking() 
    {
        return ranking;
    }
    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("money", getMoney())
            .append("bonus", getBonus())
            .append("ranking", getRanking())
            .append("isDefault", getIsDefault())
            .append("name", getName())
            .toString();
    }
}
